home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Basic Controls
/
Visual Basic Controls.iso
/
vbcontrol
/
cstwnd
/
custctl.cpp
< prev
next >
Wrap
C/C++ Source or Header
|
1993-12-17
|
927b
|
29 lines
#include "custctl.h"
#include "nradio.h"
PTModule DLLModule;
#define CUSTCTL_VERSION 0x0100
//------------------------------------------------------------------------
#pragma argsused // Suppresses args not used warning message
extern "C" int FAR PASCAL _export WEP(int nParameter)
{ // Windows Exit Procedure
return (1);
}
//------------------------------------------------------------------------
#pragma argsused
extern "C" int FAR PASCAL LibMain(HINSTANCE hInstance, WORD wDataSeg,
WORD cbHeapSize, LPSTR lpCmdLine)
{ // Library startup routine
DLLModule = new TModule("CUSTCTL",hInstance,lpCmdLine);
if (cbHeapSize > 0)
UnlockData(0);
return (1);
}
//=======================================================================//
extern "C" WORD FAR PASCAL _export CTLCustCtlGetVersion(void)
{
return CUSTCTL_VERSION;
}